﻿using System;

using SBPweb.Communication.Shared.Library;
using SBPweb.Communication.Shared.Library.Commands;

using SBPweb.Communication.Client.Library.Xmpp.Commands;
using SBPweb.Communication.Client.Library.Xmpp.Configuration;
using SBPweb.Communication.Client.Library.Xmpp.Connections;
using SBPweb.Communication.Client.Library.Xmpp.Contacts;
using SBPweb.Communication.Client.Library.Xmpp.Conversations;
using SBPweb.Communication.Client.Library.Xmpp.Profiles;

namespace SBPweb.Communication.Client.Library.Xmpp
{

    public class Messenger : MessengerBase
    {

        #region Constructor logic

        public Messenger()
        {
            configurations = new ConfigurationManager(this);
            connections = new ConnectionManager(this);
            commands = new CommandManager(this, connections as ConnectionManager);
            contacts = new ContactManager(this, connections as ConnectionManager);
            conversations = new ConversationManager(this, connections as ConnectionManager);
            profiles = new ProfileManager(this);
        }

        #endregion

        #region Methods

        protected override void OnInitialize()
        {
            base.OnInitialize();
        }

        protected override void OnTerminate()
        {
            base.OnTerminate();
        }

        #endregion

    }

}